home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3006 / 3006.xpi / chrome / dwhelper.jar / content / mp3tunes / create-account.xul < prev    next >
Extensible Markup Language  |  2010-01-15  |  1KB  |  38 lines

  1. <?xml version="1.0"?> 
  2. <!-- *****************************************************************************
  3.  *            Copyright (c) 2006 Michel Gutierrez. All Rights Reserved.
  4.  ****************************************************************************** -->
  5. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  6. <?xml-stylesheet href="chrome://dwhelper/skin/dwhelper.css" type="text/css"?>
  7. <?xml-stylesheet href="chrome://dwhelper/content/bindings.css" type="text/css"?>
  8.  
  9. <!DOCTYPE window SYSTEM "chrome://dwhelper/locale/dwhelper.dtd" >
  10.  
  11. <dialog id="mp3tune-create-account"
  12.         title="&mp3tunes.title.create-account;"
  13.         ondialogaccept="return doOk();"
  14.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  15.         xmlns:html="http://www.w3.org/1999/xhtml"
  16.         >
  17.  
  18.     <script>
  19. <![CDATA[
  20.  
  21. function doOk() {
  22.     var panel=document.getElementById("createaccount");
  23.     panel.validate();    
  24.     return false;
  25. }
  26.  
  27. function accountCreated(data) {
  28.     window.arguments[0].accountData=data;
  29.     window.close();
  30. }
  31.  
  32. ]]>
  33.     </script>
  34.  
  35.     <MP3TunesCreateAccount id="createaccount" dialog="mp3tune-create-account" oncreatedaccount="accountCreated(data)" flex="1"/>
  36.  
  37. </dialog>
  38.